<template>
  <div id="app">
    <!-- <div class="header">
      i am header
    </div> -->
    <v-header></v-header>
    <div class="nav border-1px">
      <div class="nav-item">
        <router-link to="/goods">商品</router-link>
      </div>
      <div class="nav-item">
        <router-link to="/rting">评价</router-link>
      </div>
      <div class="nav-item">
        <router-link to="/seller">商家</router-link>
      </div>
    </div>
    <router-view></router-view>
    <!-- <div class="content">
      i am content
    </div> -->
  </div>
</template>

<script>
import VHeader from "components/header/header";
export default {
  name: "App",
  components: { VHeader }
};
</script>

<style>
.nav {
  display: flex;
  height: 40px;
  align-items: center;
  /* border-bottom: 1px solid rgba(7,17,27,0.1); */
}
.nav-item {
  flex: 1;
  text-align: center;
}
.nav-item a {
  display: block;
  font-size: 14px;
  color: rgb(77,85,93);
  text-decoration: none;
}
a.router-link-active {
  color: rgb(240,20,20)
}
</style>
